package com.project.server.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.project.server.dto.PasswordUpdateDTO;
import com.project.server.entity.SysUser;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface UserService extends IService<SysUser> {

    /**
     * 修改密码
     */
    void changePassword(Long userId, PasswordUpdateDTO passwordUpdateDTO);

    /**
     * 上传头像
     */
    String uploadAvatar(Long userId, MultipartFile file) throws IOException;







}
